<?php /* Smarty version 2.6.16, created on 2009-04-16 03:19:17
         compiled from View.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'View.html', 25, false),array('modifier', 'clean', 'View.html', 25, false),array('modifier', 'process_code', 'View.html', 119, false),array('modifier', 'date_format', 'View.html', 133, false),array('modifier', 'tags', 'View.html', 139, false),array('function', 'language', 'View.html', 37, false),array('function', 'module', 'View.html', 70, false),array('function', 'url', 'View.html', 78, false),array('function', 'html_options', 'View.html', 87, false),array('function', 'bookmarks', 'View.html', 108, false),array('function', 'videoplayer', 'View.html', 188, false),)), $this); ?>
<?php echo '
<script type="text/javascript">

function submit_report()
	{
	var check_select = document.getElementById(\'report_call\').value;

	if ( check_select == \'__none__\' )
	{
		return false;
	}

	xajax_videoReport(xajax.getFormValues("report_form"));
	return false;
}

</script>
'; ?>


<table style="width:100%;" cellpadding="4" cellspacing="4">
<tr>
<td style="width:40%;vertical-align:top;">

	<div style="padding-bottom:8px;font-size:11pt;" class="color">
		<b><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['b']['vid_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</b>
	</div>

	<div style="text-align:center;">
	<table style="margin:auto; font-size:11pt; font-weight:bold;" cellpadding="4" cellspacing="4">
	<tr>
                        <td>		<?php if ($this->_tpl_vars['bIsStaff']): ?></td>

		<td>
		
			<a href="javascript:void(0);" onclick="xajax_videoAddFeature('<?php echo $this->_tpl_vars['b']['vid_id']; ?>
');"><img src="design/pic/red-star-2.gif" alt="" />
		
		</a><u><span id="feature_content_<?php echo $this->_tpl_vars['b']['vid_id']; ?>
"><a href="javascript:void(0);" onclick="xajax_video<?php if ($this->_tpl_vars['b']['featured']): ?>Remove<?php else: ?>Add<?php endif; ?>Feature('<?php echo $this->_tpl_vars['b']['vid_id']; ?>
', 'feature_content_<?php echo $this->_tpl_vars['b']['vid_id']; ?>
');"><?php if ($this->_tpl_vars['b']['featured']):  echo smarty_function_language(array('text' => 'Mod_Video.remove_feature'), $this); else:  echo smarty_function_language(array('text' => 'Mod_Video.feature'), $this); endif; ?></a></span></u>
		</td>
                        <td>		<?php endif; ?></td>

		<td>
		
			<a href="javascript:void(0);" onclick="xajax_videoSaveFavorite('<?php echo $this->_tpl_vars['b']['vid_id']; ?>
');"><img src="design/pic/icn_save.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="xajax_videoSaveFavorite('<?php echo $this->_tpl_vars['b']['vid_id']; ?>
');"><?php echo smarty_function_language(array('text' => 'Mod_Video.save'), $this);?>
</a></u>
		</td>
		<td>
		
			<a href="javascript:void(0);" onclick="Effect.SlideDown('share_video');"><img src="design/pic/icn_share.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="Effect.SlideDown('share_video');"><?php echo smarty_function_language(array('text' => 'Mod_Video.share'), $this);?>
</a></u>
		</td>
		<td>
		
			<a href="javascript:void(0);" onclick="Effect.SlideDown('report_video');"><img src="design/pic/icn_report.png" alt="" style="vertical-align:middle;" />
		
		</a><u><a href="javascript:void(0);" onclick="Effect.SlideDown('report_video');"><?php echo smarty_function_language(array('text' => 'Mod_Video.report'), $this);?>
</a></u>
		</td>
	</tr>
	</table>
	</div>

	<div id="share_video" class="border13" style="padding:8px; display:none;">
		<div style="float:right;">
			(<a href="javascript:void(0);" onclick="Effect.SlideUp('share_video');"><?php echo smarty_function_language(array('text' => 'Mod_Video.close'), $this);?>
</a>)
		</div>
	     <div style="padding-bottom:10px;font-size:11pt;">
        	<b><u><?php echo smarty_function_language(array('text' => 'Mod_Video.user_search_tool'), $this);?>
</u></b>
		</div>
		<?php echo smarty_function_module(array('module' => 'Account','component' => 'AjaxFriendsSearch','aParams' => $this->_tpl_vars['aAjaxArray'],'sContent' => 'Mod_Video.click.invite','sValue' => 'Mod_Video.shared_done'), $this);?>

	</div>

	<div id="report_video" class="border13" style="padding:8px; display:none;">
		<div style="float:right;">
			(<a href="javascript:void(0);" onclick="Effect.SlideUp('report_video');"><?php echo smarty_function_language(array('text' => 'Mod_Video.close'), $this);?>
</a>)
		</div>

		<form method="post" action="<?php echo smarty_function_url(array('link' => 'current'), $this);?>
" onsubmit="return submit_report();" id="report_form" name="report_form">
		<div><input type="hidden" name="report_id" value="<?php echo $this->_tpl_vars['b']['vid_id']; ?>
" /></div>
		<span style="font-size:10pt; font-weight:bold;"><?php echo smarty_function_language(array('text' => 'Mod_Video.report_title'), $this);?>
</span>
		<div style="padding:8px;">
			<?php echo smarty_function_language(array('text' => 'Mod_Video.report_notice'), $this);?>

			<br />
			<br />
			<select name="report_call" id="report_call">
			<option value="__none__"><?php echo smarty_function_language(array('text' => 'Mod_Video.choose_reason'), $this);?>
</option>
			<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aWarnings']), $this);?>

			</select>
			<input type="submit" value="<?php echo smarty_function_language(array('text' => 'Mod_Video.flag_video'), $this);?>
" style="cursor:pointer;" />
		</div>
		</form>
	</div>


	<br />

	<table style="font-size:10pt;">
	<tr>
		<td class="color" style="vertical-align:top;">
		<?php echo smarty_function_language(array('text' => 'Mod_Video.rate'), $this);?>
:
		</td>
		<td style="vertical-align:top;">
			<?php echo smarty_function_module(array('module' => 'Video','component' => 'Rating','aItem' => $this->_tpl_vars['b']), $this);?>

		</td>
	</tr>
	</table>
	<br />
	<?php echo smarty_function_bookmarks(array(), $this);?>

	<br />

	<div class="border2">

	<div style="padding:8px;font-size:8pt;" class="border13">
		<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
		<b><u><?php echo smarty_function_language(array('text' => 'Mod_Video.vid.details'), $this);?>
</u></b>
	</div>
	<?php if (! empty ( $this->_tpl_vars['vidInfo'] )): ?>
	<div style="padding:8px;" class="color">
		<?php echo ((is_array($_tmp=$this->_tpl_vars['vidInfo'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>

	</div>
	<br />
	<?php endif; ?>
	<table style="width:100%;font-size:8pt;" class="color">
		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.add.by'), $this);?>
</b>:</td><td style="width:80%;"><a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['b']['user']), $this);?>
"><?php echo $this->_tpl_vars['b']['user']; ?>
</a></td></tr>
                    <td>		<?php if ($this->_tpl_vars['b']['list_name']): ?></td>
                    <td></td>
                </tr>
<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.category.ucfirst'), $this);?>
</b>:</td><td style="width:80%;"><a href="<?php echo smarty_function_url(array('link' => 'public.videos','listid' => $this->_tpl_vars['b']['list_id'],'foxseotitle' => $this->_tpl_vars['b']['list_name']), $this);?>
"><?php echo $this->_tpl_vars['b']['list_name']; ?>
</a></td></tr>
                <td><?php endif; ?></td>
                <td></td>
            </tr>

		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.added.on'), $this);?>
</b>:</td><td style="width:80%;"> <?php echo ((is_array($_tmp=$this->_tpl_vars['b']['vid_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateTimeFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateTimeFormat'])); ?>
</td></tr>
		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.views'), $this);?>
</b>:</td><td style="width:80%;"> <?php echo $this->_tpl_vars['b']['vid_total']; ?>
</td></tr>
            <td>		<?php if ($this->_tpl_vars['b']['vid_tags']): ?></td>
            <td></td>
        </tr>

		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.tags'), $this);?>
</b>:</td><td style="width:80%;"> <?php echo ((is_array($_tmp=$this->_tpl_vars['b']['vid_tags'])) ? $this->_run_mod_handler('tags', true, $_tmp, 'public.videos') : smarty_modifier_tags($_tmp, 'public.videos')); ?>
</td></tr>
        <td>		<?php endif; ?>
		<?php if (getParam ( 'allow_embed' )): ?></td>
        <td></td>
    </tr>

		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.url'), $this);?>
</b>:</td><td style="width:80%;"><input onclick="this.select();" type="text" name="url" value="<?php echo $this->_tpl_vars['b']['url']; ?>
" size="35" /></td></tr>
		<tr><td style="width:20%;text-align:right;"><b><?php echo smarty_function_language(array('text' => 'Mod_Video.embed'), $this);?>
</b>:</td><td style="width:80%;"><input onclick="this.select();" type="text" name="url" value="<?php echo $this->_tpl_vars['b']['embed']; ?>
" size="35" /></td></tr>
    <td>		<?php endif; ?></td>
    <td></td>
</tr>

	</table>

	</div>

	<br />
		<table style="width: 100%;" cellpadding="4" cellspacing="0">
		<tr>
    		<td>
        		<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
            	<tr>
        		    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
        		    <td class="block_header"><?php echo smarty_function_language(array('text' => 'members_comments'), $this);?>
</td>
        		</tr>
        		</table>
	        	<table style="width:100%;" border="0" cellspacing="0" cellpadding="0">
            	<tr>
    	    	    <td style="width:2%;"></td>
            	    <td style="width:98%;font-size:8pt;vertical-align:middle;font-size:8pt;" class="color">
        		        <br />
        		        <?php echo smarty_function_module(array('module' => 'Comments','component' => 'AddForm','type' => 'video','alert_id' => $this->_tpl_vars['b']['vid_userid']), $this);?>

        		        <br />
        		     	<a name="comment"></a>
        		     	<div id="new_comment"><?php echo smarty_function_module(array('module' => 'Comments','component' => 'List','type' => 'video','page' => 0,'useajax' => true,'totalCount' => $this->_tpl_vars['b']['comments']), $this);?>
</div>
						<div id="ajax_comment_loader" style="display:none; font-size:10pt; font-weight:bold; padding:8px; text-align:center; display:none;">
							<img src="design/pic/loader.gif" alt="" style="vertical-align:middle;" /> <?php echo smarty_function_language(array('text' => 'Mod_Video.loading.videos'), $this);?>

						</div>
            	    	<div id="comment_content" style="display:none;"></div>
            	    </td>
            	</tr>
        		</table>
				<br/>
    	</td>
		</tr>
		</table>
	<br />
</td><td style="width:40%;vertical-align:top;">
	<div style="padding-bottom:8px;font-size:11pt;" class="color">
	<?php echo smarty_function_videoplayer(array('url' => $this->_tpl_vars['vidUrl'],'width' => '400','height' => '320'), $this);?>

	</div>
	<?php echo smarty_function_module(array('module' => 'Video','component' => 'MyVideos','aItem' => $this->_tpl_vars['b'],'sType' => 'page'), $this);?>

	<br />
	<?php echo smarty_function_module(array('module' => 'Tag','component' => 'List','type' => 'videos'), $this);?>

	<br />
	<?php echo smarty_function_module(array('module' => 'Video','component' => 'Related','search' => $this->_tpl_vars['b']['vid_title'],'vidid' => $this->_tpl_vars['b']['vid_id']), $this);?>


</td>
<td style="width:20%;vertical-align:top;">
 <p><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => '../../public/_banner-right.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></p>
</td>
</tr>
</table>
<br />